/* FONTS */

@font-face {
    font-family: 'Gotham-Light';
    src: url(../FONTS/transfonter-20261022-070245/Gotham-Light.woff2) format('woff2'),
        url(../FONTS/transfonter-20261022-070245/Gotham-Light.woff) format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham-Medium';
    src: url(../FONTS/transfonter-20261022-070245/Gotham-Medium.woff2) format('woff2'),
        url(../FONTS/transfonter-20261022-070245/Gotham-Medium.woff) format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'F2FOCRBczyk LT Std';
    src: url(../FONTS/transfonter-20261022-070245/F2FOCRBczykLTStd-Regular.woff2) format('woff2'),
        url(../FONTS/transfonter-20261022-070245/F2FOCRBczykLTStd-Regular.woff) format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.vignette-title-big {
    font-family: 'Gotham-Light';
    font-size: 40px;
    line-height: 44px;
    text-transform: uppercase;
}

.vignette-title-small {
    font-family: 'Gotham-Light';
    font-size: 17px;
    line-height: 18px;
    text-transform: uppercase;
}

.vignette-genre-big {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 20px;
    line-height: 1.3;
    text-transform: uppercase;
}

.vignette-genre-small {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

.text {
    font-family: 'Gotham-Medium';
    font-size: 12px;
    line-height: auto;
}

.nav-text {
    font-family: 'Gotham-Light';
    font-size: 20px;
    text-transform: uppercase;
    margin: 10px 0px 0px 0px;
}

.mes-projets {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 28px;
    text-transform: uppercase;
    margin-top: 50px;
}

/* COLORS */

.sujets-red {color: #E62613;}
.sujets-yellow {color: #F1DC00;}

.arbres-dark {color: #306B35;}
.arbres-light {color: #1EC42A;}

.pulsations-purple {color: #D035D9;}
.pulsations-blue {color: #437AE4;}

.bikini-yellow {color: #FCC028;}
.bikini-pink {color: #ED678F;}

.elden-green {color: #00565C;}
.elden-yellow {color: #FBC64D;}

.daruma-blue {color: #91D1B6;}
.daruma-red {color: #FF7F60;}

.sugar-pink {color: #FD3967;}
.sugar-blue {color: #08F5FD;}

.earth-green {color: #62F627;}
.earth-yellow {color: #D18C1E;}

.bw-light {color: #E6E6E6;}
.bw-dark {color: #333333;}

.about-red {color: #AC0B0B;}
.about-pink {color: #BE3C3C;}

/* BODY */

body {
    background-color: black;
    padding: 0px;
    margin: 0px;
    color: white;
}

.container-general {
    width: 100%;
    max-width: 1200px;          /* 960px de contenu + 2 x 20px de marge */
    margin: 50px auto 0;        /* auto = centré */
    padding: 0 20px;
}

.intro {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;             /* vidéo centrée */
}

.intro-landscape {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;             /* vidéo centrée */
}

.intro-portrait {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;             /* vidéo centrée */
}

img {
    aspect-ratio: 1/1;
}

a {color: white; text-decoration: none;}

header {
    width: 100%;
    height: 50px;
    padding: 0;
}

nav {
    background-color: black;
    border-bottom: white 1px solid;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: calc(100% - 40px);
    max-width: 1160px;           /* même largeur que le contenu */
    margin: 0 auto;             /* nav centrée */
    z-index: 10;
}

.logo {
    width: 50px;
}

footer {
    border-top: white 1px solid;
    margin: 20px 0 0;
    padding: 20px 0;
    --bs-gutter-x: 0;           /* annule les marges négatives de .row */
    list-style: none;
}

footer img {
    max-height: 100px;
}

/* INDEX */

.projet {
  background: #000;
}

.projet-lien {
    display: block;
}

.vignette {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vignette--orange {
  background: linear-gradient(to bottom, #E62613, #F1DC00);
}

.vignette--vert {
  background: linear-gradient(to bottom, #3f6e45, #55b445);
}

.vignette--bleu {
  background: linear-gradient(to bottom, #D035D9, #437AE4);
}

.vignette--jaune {
  background: linear-gradient(to bottom, #FCC028, #ED678F);
}

.vignette--darkgreen {
  background: linear-gradient(to bottom, #00565C, #FBC64D);
}

.vignette--rose {
  background: linear-gradient(to bottom, #91D1B6, #FF7F60);
}

.vignette--pink {
  background: linear-gradient(to bottom, #FD3967, #08F5FD);
}

.vignette--gray {
  background: linear-gradient(to bottom, #333333, #E6E6E6);
}

.vignette--lime {
  background: linear-gradient(to bottom, #62F627, #D18C1E);
}

.vignette--grey {
  background: linear-gradient(to bottom, #E6E6E6, #333333);
}

.vignette--red {
  background: linear-gradient(to bottom, #AC0B0B, #BE3C3C);
}

.vignette--red img {opacity: 0;}

.infos {
  /* l'espace entre l'image et le début du cadre */
  margin-top: 12px;

  /* cadre ouvert en haut */
  border: 2px solid var(--accent);
  border-top: none;
    height: 150px;
  padding: 8px 12px 0px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 0 16px;
  color: #fff;
  margin-bottom: 50px;
}

.infos-small {
  /* l'espace entre l'image et le début du cadre */
  margin-top: 10px;

  /* cadre ouvert en haut */
  border: 1px solid var(--accent);
  border-top: none;
    min-height: 80px;
  padding: 1px 6px 0px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 0 0px;
  color: #fff;
  margin-bottom: 30px;
}

.titre {
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 0;
}

.annee {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.tags {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  margin-top: 0px;
  margin-bottom: 8px;
  padding: 0;
  list-style: none;
  text-align: right;
}


/* PROJECTS */

.h2-project {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
}

.project-intro {
    position: relative;
}

.project-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.8), rgba(0,0,0,1));
}

.presentation-mockup {
    display: block;
    width: 100%;
}

hr {color: white 1px solid; opacity: 100%; margin: 2px;}

.text-project {
    margin-top: 30px;
    margin-bottom: 30px;
}

.detail-sujets img {
    padding: 0px;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #E62613, #F1DC00);
    aspect-ratio: 1/1;
    display: flex;
    justify-content: space-between;
    background-size: contain;
}

.detail-auxarbres img {
    padding: 0px;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #3f6e45, #55b445);
    aspect-ratio: 1/1;
    display: flex;
    justify-content: space-between;
    background-size: contain;
}

.detail-pulsations img {
    padding: 0px;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #D035D9, #437AE4);
    aspect-ratio: 1/1;
    display: flex;
    justify-content: space-between;
    background-size: contain;
}

.detail-eldenring img {
    padding: 0px;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #00565C, #FBC64D);
    aspect-ratio: 1/1;
    display: flex;
    justify-content: space-between;
    background-size: contain;
}

.detail-daruma img {
    padding: 0px;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #91D1B6, #FF7F60);
    aspect-ratio: 1/1;
    display: flex;
    justify-content: space-between;
    background-size: contain;
}




/* Medium (tablettes, 768px et +) */
@media (min-width: 768px) {

    .vignette-title-big {
    font-family: 'Gotham-Light';
    font-size: 40px;
    line-height: 44px;
    text-transform: uppercase;
}

.vignette-title-small {
    font-family: 'Gotham-Light';
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
}

.vignette-genre-big {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 20px;
    line-height: 1.3;
    text-transform: uppercase;
}

.vignette-genre-small {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 16px;
    line-height: 1.3;
    text-transform: uppercase;
}

.text {
    font-family: 'Gotham-Medium';
    font-size: 14px;
    line-height: auto;
}

.nav-text {
    font-family: 'Gotham-Light';
    font-size: 30px;
    text-transform: uppercase;
    margin: 10px 0px 0px 0px;
}

.mes-projets {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 34px;
    text-transform: uppercase;
    margin-top: 50px;
}

header {
    width: 100%;
    height: 70px;
    padding: 0;
}

nav {
    background-color: black;
    border-bottom: white 1px solid;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: calc(100% - 40px);
    max-width: 1160px;           /* même largeur que le contenu */
    margin: 0 auto;             /* nav centrée */
    z-index: 10;
}

.logo {
    width: 70px;
}

    .projet--big {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); /* image | texte */
        column-gap: 12px;
        margin-bottom: 50px;
    }

    .projet--big .infos {
        margin: 0;                       /* plus de marge haute : le bloc est à côté */
        height: auto;                    /* s'étire à la hauteur de l'image */
        border: 2px solid var(--accent);
        border-left: none;               /* cadre ouvert côté image */
        padding: 12px 12px 10px;
        grid-template-columns: 1fr auto;
        grid-template-rows: 1fr auto;
    }

    /* titre en haut, sur toute la largeur */
    .projet--big .titre {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    /* année en bas à gauche */
    .projet--big .annee {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        align-self: end;
    }

    /* tags en bas à droite */
    .projet--big .tags {
        grid-column: 2;
        grid-row: 2;
        margin-bottom: 0;
    }

    /* --- Intro : titre à gauche, image à droite --- */
    .project-intro {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
        column-gap: 16px;
        align-items: end;               /* titre aligné sur le bas de l'image */
    }

    .project-intro .vignette {
        grid-column: 2;
        grid-row: 1;
    }

    .project-title {
        position: static;
        grid-column: 1;
        grid-row: 1;
        background: none;
    }

    .project-title .vignette-title-big {
        font-size: clamp(28px, 4.2vw, 52px);   /* évite le débordement dans la colonne */
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .project-title .vignette-genre-big {
        margin: 0;
    }

    /* --- Présentation : mockup à gauche, textes à droite --- */
    .project-presentation {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
        grid-template-rows: auto 1fr;
        column-gap: 16px;
        margin-top: 80px;
    }

    .presentation-mockup {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .presentation-top {
        grid-column: 2;
        grid-row: 1;
    }

    .presentation-bottom {
        grid-column: 2;
        grid-row: 2;
        align-self: end;                /* dernier paragraphe en bas */
    }

    .project-presentation p {
        margin: 0 0 1rem;               /* annule les 30px de .text-project */
    }

    .project-presentation .presentation-bottom {
        margin-bottom: 0;
    }

    /* --- Details : 1 / 2 / 1 colonnes, grande image au centre --- */
    .detail {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        gap: 16px;
        margin-left: 0 !important;      /* annule mx-1 */
        margin-right: 0 !important;
    }

    .detail > div {
        display: none;                  /* les espaceurs col-2 ne servent plus */
    }

    .detail img {
        width: 100%;
        margin: 0;
    }

    .detail img:nth-of-type(1) { grid-column: 1; grid-row: 1; }
    .detail img:nth-of-type(2) { grid-column: 3; grid-row: 1; }
    .detail img:nth-of-type(4) { grid-column: 1; grid-row: 2; }
    .detail img:nth-of-type(5) { grid-column: 3; grid-row: 2; }

    .detail img:nth-of-type(3) {        /* la grande image centrale */
        grid-column: 2;
        grid-row: 1 / 3;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
    }

}

/* Large (desktops, 992px et +) */
@media (min-width: 992px) {

    .vignette-title-big {
    font-family: 'Gotham-Light';
    font-size: 68px;
    line-height: 70px;
    text-transform: uppercase;
}

.vignette-title-small {
    font-family: 'Gotham-Light';
    font-size: 34px;
    line-height: 32px;
    text-transform: uppercase;
}

.vignette-genre-big {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 30px;
    line-height: 1.3;
    text-transform: uppercase;
}

.vignette-genre-small {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 24px;
    line-height: 1.3;
    text-transform: uppercase;
}

.text {
    font-family: 'Gotham-Medium';
    font-size: 18px;
    line-height: auto;
}

.nav-text {
    font-family: 'Gotham-Light';
    font-size: 40px;
    text-transform: uppercase;
    margin: 10px 0px 0px 0px;
}

.mes-projets {
    font-family: 'F2FOCRBczyk LT Std';
    font-size: 34px;
    text-transform: uppercase;
    margin-top: 50px;
}

header {
    width: 100%;
    height: 70px;
    padding: 0;
}

nav {
    background-color: black;
    border-bottom: white 1px solid;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: calc(100% - 40px);
    max-width: 1160px;           /* même largeur que le contenu */
    margin: 0 auto;             /* nav centrée */
    z-index: 10;
}

.logo {
    width: 90px;
}

    .projet--big {
        margin-bottom: 70px;
    }
}